package cn.mulanbay.persistent.mapper;

import cn.mulanbay.persistent.entity.UserWxpayInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author fenghong
 * @since 2022-02-06
 */
public interface UserWxpayInfoMapper extends BaseMapper<UserWxpayInfo> {

    UserWxpayInfo getByUserId(@Param("userId")Long userId,@Param("appId") String appId);

    UserWxpayInfo getByOpenId(@Param("appId") String appId,@Param("openId") String openId);

}
